<section class="mystaff">
  <div class="mianbao">
    <el-breadcrumb separator="/">
      <el-breadcrumb-item :to="{ path: '/myorder' }">企业中心</el-breadcrumb-item>
      <el-breadcrumb-item>员工管理</el-breadcrumb-item>

    </el-breadcrumb>
  </div>
  <div class="search">
    <div class="serch_box">
      <el-select v-model="value9" multiple filterable remote reserve-keyword placeholder="请输入关键词" :remote-method="remoteMethod"
        :loading="loading">
        <el-option v-for="item in options4" :key="item.value" :label="item.label" :value="item.value">
        </el-option>
      </el-select>
      <el-button type="primary" icon="el-icon-search"></el-button>
    </div>
      <el-button type="primary" class="addstaff">添加员工</el-button>
  </div>

  <div class="table1">


    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="name" label="员工姓名">
      </el-table-column>
      <el-table-column prop="position" label="职位">
      </el-table-column>
      <el-table-column prop="phone" label="手机号码">
      </el-table-column>
      <el-table-column prop="email" label="邮箱">
      </el-table-column>
      <el-table-column prop="status" label="状态">
        <template slot-scope="scope">
          <el-switch v-model="scope.row.status" active-text="启用" active-color="#1299D5" inactive-color="#979797">
          </el-switch>
        </template>
      </el-table-column>
      <el-table-column prop="contacts" label="企业联系人">
          <template slot-scope="scope">
            <el-switch v-model="scope.row.show" active-text="启用" active-color="#1299D5" inactive-color="#979797">
            </el-switch>
          </template>
      </el-table-column>
      <el-table-column  label="操作">
        <template slot-scope="scope">
          <router-link class="dingdan" to="/companycenter/addstaff" tag="span">
            <span>编辑</span>
          </router-link>
             |
            <router-link class="dingdan" to="/companycenter/addstaff" tag="span">
              <span>删除</span>
            </router-link>
        </template>
      </el-table-column>
    



    </el-table>
  </div>


  <div class="fenye">
    <el-pagination background layout="prev, pager, next" :total="1000">
    </el-pagination>
  </div>
</section>